package ssm.dao;


import ssm.pojo.PageBean;
import ssm.pojo.Product;

import java.sql.SQLException;
import java.util.List;

public interface ProductDao {
    List<Product> findCateBydate() throws SQLException;
    List<Product> findHotDate() throws SQLException;
    Product findProById(String pid) throws SQLException;
    List<Product> findProByLimit(int nummber, int total, String cid) throws SQLException;
    int findCountPro(String cid) throws SQLException;
}
